﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Obra.PowerShell.SmugMug
{
    internal class DirectoryChild
    {
        private readonly string name;
        private readonly string path;
        private readonly object child;

        public DirectoryChild(
            string name,
            string path,
            object child)
        {
            this.name = name;
            this.path = path;
            this.child = child;

            this.IsContainer = true;
        }

        public string Name
        {
            get { return this.name; }
        }

        public string Path
        {
            get { return this.path; }
        }

        public object Child
        {
            get { return this.child; }
        }

        public bool IsContainer
        {
            get;
            set;
        }
    }
}
